<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=<%= config.charset %>">
  <title><%= item.title %> - <%= config.blog_title %></title>
  <meta http-equiv="content-style-type" content="text/css">
  <link rel="stylesheet" href="<%= config.theme_css %>" type="text/css">
  <link rel="alternate" type="application/rss+xml" title="RSS" href="<%= config.blog_url + config.rss_filename %>">
</head>

<body>

<div class="adminmenu">
  <span class="adminmenu"><a href="<%= config.blog_url %>">最新</a></span> /
  <span class="adminmenu"><a href="<%= config.blog_url + config.rss_filename %>">RSS</a></span>
</div>

<h1><a href="<%= config.blog_url %>"><%= config.blog_title %></a></h1>

<div id="container">
	<div id="main">
		<div class="adminmenu">
		<% unless item.prev.nil? %>
			<span class="adminmenu">
			<a href="<%= item.prev.permalink %>"><%= item.prev.title %></a> &lt;&lt;
			</span>
		<% end %>
		<a href="<%= config.blog_url %>">最新の日記</a>
		<% unless item.next.nil? %>
			<span class="adminmenu">
			&gt;&gt; <a href="<%= item.next.permalink %>"><%= item.next.title %></a>
			</span>
		<% end %>
		</div>

		<div class="day">
			<h2><a href="<%= item.permalink %>"><span class="date"><%= item.title %></span></a></h2>
			<div class="body">
				<div class="section">
				<%= item.contents %>
				</div>
			</div>
		</div>

		<div class="adminmenu">
			<% unless item.prev.nil? %>
				<span class="adminmenu">
				<a href="<%= item.prev.permalink %>"><%= item.prev.title %></a> &lt;&lt;
				</span>
			<% end %>

			<a href="<%= config.blog_url %>">最新の日記</a>

			<% unless item.next.nil? %>
				<span class="adminmenu">
				&gt;&gt; <a href="<%= item.next.permalink %>"><%= item.next.title %></a>
				</span>
		    <% end %>
		</div>
	</div>

	<div id="sidebar">
	</div>

	<div id="footer">
		<br>
		<p>Generated by corno version <%= Corno::VERSION %></p>
	</div>
</div>

</body>
</html>

